package com.eastmountain.junk;

public class ReadWrite {

}
/*
private void writeOutput( String str ) {

    try {

        FileOutputStream fos = new FileOutputStream( "BiggerAndBetter.txt" );
        Writer out = new OutputStreamWriter( fos );
        out.write( str );
        out.close();
    } catch ( IOException e ) {
        e.printStackTrace();
    }
}
*/
/*
private Vector<ChineseElementProperties> readInput( int lessonNumber ) {

    HZFindAccessor hzAccessor = null;

    Vector<ChineseElementProperties> chineseElementProperties = new Vector<ChineseElementProperties>();

    try {

        hzAccessor = new HZFindAccessor( HZAccessor.DERBY_DB_MANAGER );

    } catch ( DBAccessException dBAccessException ) {

        JOptionPane.showMessageDialog( null, dBAccessException.getMessage(), "DB Error",
                        JOptionPane.ERROR_MESSAGE );

        dBAccessException.printStackTrace();

    }  catch ( Exception exception ) {

        JOptionPane.showMessageDialog( null, exception.getMessage(), "DB Error",
                        JOptionPane.ERROR_MESSAGE );


    }


    try {

        chineseElementProperties = hzAccessor
                        .findCharacterPropertiesByLessonNumber( lessonNumber );

    } catch ( DBAccessException dBAccessException ) {

        JOptionPane.showMessageDialog( null, dBAccessException.getMessage(), "DB Error",
                        JOptionPane.ERROR_MESSAGE );

        dBAccessException.printStackTrace();

    }

    return chineseElementProperties;

}
*/
